package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UpdateStatusGroupInfoRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/6/28 15:17
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "更新广告组状态的请求参数")
public class UpdateStatusGroupInfoRequest {
    @ApiModelProperty(value = "广告主ID",required = true)
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;
    @ApiModelProperty(value = "广告组ID",required = true)
    @NotNull(message = "广告组ID不能为空")
    private Long[] campaign_ids;
    @ApiModelProperty(value = "操作, \"enable\"表示启用, \"delete\"表示删除, \"disable\"表示暂停；\n" +
            "允许值: \"enable\", \"delete\", \"disable\",\n" +
            "对于删除的广告组不可进行任何操作，否则会报错",required = true)
    @NotNull(message = "opt_status不能为空")
    private String opt_status;
}
